<template>
    <div>
        <van-nav-bar
        title="分类话题"
        left-text=""
        left-arrow
        @click-left="onClickLeft"
        />
    </div>
    <div>
        <div>
            <van-tabs v-model="active" :ellipsis="false" :border="false">
                <van-tab v-for="(tabname,idx) in tabList" :key="idx" :title="tabname"></van-tab>
            </van-tabs>
        </div>
    </div>

       
</template>

<script>


export default{
     setup() {
    const onClickLeft = () => history.back();
        return {
        onClickLeft,
        };
    },
    data(){
        return{
            tabList:[
            '自我成长',
            '情绪管理',
            '人际沟通',
            '恋爱婚姻',
            '职场管理',
            '亲子家庭',
            '心理科普',
            '课程讲座',
            ],
        }
    }
}
</script>


<style lang="less" scoped>


</style>